﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Sisocana.Core.Models.SiteModel>" %>


    <script src="<%: Url.Content("~/Scripts/jquery-ui-1.8.11.js") %>" type="text/javascript"></script>
    <link href="<%: Url.Content("~/Content/themes/base/jquery.ui.all.css") %>" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            $("p a, input:submit,input:file ").button();
        });
    </script>

<script src="<%: Url.Content("~/Scripts/jquery.validate.min.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js") %>" type="text/javascript"></script>

<% using (Html.BeginForm()) { %>
    <%: Html.ValidationSummary(true) %>
  
        <%: Html.HiddenFor(model => model.id) %>

        <div class="label-field">
           <b> <%: Html.LabelFor(model => model.nombreCatastrofe) %></b>
        </div>       
        
        <div class="editor-field">
            <%: Html.DisplayFor(model => model.nombreCatastrofe)%>
        </div>
        <br />
        <div class="label-field">
           <b> <%: Html.LabelFor(model => model.descripcion) %></b>
        </div>
        
        <div class="editor-field">
            <%: Html.DisplayFor(model => model.descripcion)%>
        </div>
        <br />
        <div class="label-field">
            <%: Html.LabelFor(model => model.estado) %>
        </div>
        <div class="editor-field">
            <%: Html.DropDownList("estado")%>
            <%: Html.ValidationMessageFor(model => model.estado) %>
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
   
<% } %>


